#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include <QLabel>
#include <QGridLayout>
#include <QLineEdit>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QMessageBox>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    //
    QLineEdit * usrLineEdit;
    QLineEdit * pwdLineEdit;
    QLabel * usrLabel;
    QLabel * pwdLabel;
    QGridLayout * gridLayout;
    QPushButton * okBtn;
    QPushButton * cancelBtn;
    QVBoxLayout * vboxLayout;
private slots:
    virtual void accept();
};

#endif // MAINWINDOW_H
